package com.lu.pojo.oop.classes.constructor;



public class Circle {
    private double radius;
    public Circle() {
        this(0.0);
        System.out.println("调用无参构造函数");
        new Object();
    }

    public Circle(double radius) {
        System.out.println("调用有参构造函数");
        this.radius = radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }
}
